package me.aartikov.alligator.converters;


import me.aartikov.alligator.AbilityResult;
import me.aartikov.alligator.ScreenResult;

/**
 * Converts {@link ScreenResult} to {@link AbilityResult} and vice versa.
 *
 * @param <ScreenResultT> screen result type
 */
public interface ScreenResultConverter<ScreenResultT extends ScreenResult> {


	AbilityResult createActivityResult(ScreenResultT screenResult);


	ScreenResultT getScreenResult( AbilityResult activityResult);
}
